package org.example.pmsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.pmsystem.entity.Salary;

import java.util.List;

@Mapper
public interface SalaryMapper {
    List<Salary> selectSalaryByStatus(String status);
    List<Salary> selectSalaryByDate(String date);
    void updateSalary(Salary salary);
    void updateSalaryStatus(Salary salary);
    List<Salary> selectAllSalary();
    List<Salary> selectSalaryBySno(String sno);
}